package com.bcinfo.iccard.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

public class Merchant implements Serializable
{
    /**
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
     */
    private static final long serialVersionUID = 3978192377554689523L;

    private Long              merchantId;

    private String            merchantCode;

    private String            merchantEncode;

    private String            merchantName;

    private String            merchantAddr;

    private String            snCode;

    private String            accountName;

    private String            accountCode;

    private String            bank;

    private String            corporation;

    private Integer           accountDigest;

    private Integer           accountTemplate;

    private Integer           accountModel;

    private String            telphone;

    private Integer           merchantType;

    private Integer           merchantCheckStatus;

    private Integer           merchantStatus;

    private Integer           billingStatus;

    private Timestamp         billingUpdateBeginTime;

    private Timestamp         billingUpdateEndTime;

    private Date              createTime;

    private Boolean           isDelete;

    private Integer           rechargeableCardDiscountRate;

    private List<Pos>         poslists;

    public String getBillingStatus2()
    {
        return merchantId + "," + billingStatus;
    }

    /**
     * @return the merchantId
     */
    public Long getMerchantId()
    {
        return merchantId;
    }

    /**
     * @param merchantId
     *            the merchantId to set
     */
    public void setMerchantId(Long merchantId)
    {
        this.merchantId = merchantId;
    }

    /**
     * @return the merchantCode
     */
    public String getMerchantCode()
    {
        return merchantCode;
    }

    /**
     * @param merchantCode
     *            the merchantCode to set
     */
    public void setMerchantCode(String merchantCode)
    {
        this.merchantCode = merchantCode;
    }

    /**
     * @return the merchantEncode
     */
    public String getMerchantEncode()
    {
        return merchantEncode;
    }

    /**
     * @param merchantEncode
     *            the merchantEncode to set
     */
    public void setMerchantEncode(String merchantEncode)
    {
        this.merchantEncode = merchantEncode;
    }

    /**
     * @return the merchantName
     */
    public String getMerchantName()
    {
        return merchantName;
    }

    /**
     * @param merchantName
     *            the merchantName to set
     */
    public void setMerchantName(String merchantName)
    {
        this.merchantName = merchantName;
    }

    /**
     * @return the merchantAddr
     */
    public String getMerchantAddr()
    {
        return merchantAddr;
    }

    /**
     * @param merchantAddr
     *            the merchantAddr to set
     */
    public void setMerchantAddr(String merchantAddr)
    {
        this.merchantAddr = merchantAddr;
    }

    /**
     * @return the snCode
     */
    public String getSnCode()
    {
        return snCode;
    }

    /**
     * @param snCode
     *            the snCode to set
     */
    public void setSnCode(String snCode)
    {
        this.snCode = snCode;
    }

    /**
     * @return the accountName
     */
    public String getAccountName()
    {
        return accountName;
    }

    /**
     * @param accountName
     *            the accountName to set
     */
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    /**
     * @return the accountCode
     */
    public String getAccountCode()
    {
        return accountCode;
    }

    /**
     * @param accountCode
     *            the accountCode to set
     */
    public void setAccountCode(String accountCode)
    {
        this.accountCode = accountCode;
    }

    /**
     * @return the bank
     */
    public String getBank()
    {
        return bank;
    }

    /**
     * @param bank
     *            the bank to set
     */
    public void setBank(String bank)
    {
        this.bank = bank;
    }

    /**
     * @return the corporation
     */
    public String getCorporation()
    {
        return corporation;
    }

    /**
     * @param corporation
     *            the corporation to set
     */
    public void setCorporation(String corporation)
    {
        this.corporation = corporation;
    }

    /**
     * @return the accountDigest
     */
    public Integer getAccountDigest()
    {
        return accountDigest;
    }

    /**
     * @param accountDigest
     *            the accountDigest to set
     */
    public void setAccountDigest(Integer accountDigest)
    {
        this.accountDigest = accountDigest;
    }

    /**
     * @return the accountTemplate
     */
    public Integer getAccountTemplate()
    {
        return accountTemplate;
    }

    /**
     * @param accountTemplate
     *            the accountTemplate to set
     */
    public void setAccountTemplate(Integer accountTemplate)
    {
        this.accountTemplate = accountTemplate;
    }

    /**
     * @return the accountModel
     */
    public Integer getAccountModel()
    {
        return accountModel;
    }

    /**
     * @param accountModel
     *            the accountModel to set
     */
    public void setAccountModel(Integer accountModel)
    {
        this.accountModel = accountModel;
    }

    /**
     * @return the telphone
     */
    public String getTelphone()
    {
        return telphone;
    }

    /**
     * @param telphone
     *            the telphone to set
     */
    public void setTelphone(String telphone)
    {
        this.telphone = telphone;
    }

    /**
     * @return the merchantType
     */
    public Integer getMerchantType()
    {
        return merchantType;
    }

    /**
     * @param merchantType
     *            the merchantType to set
     */
    public void setMerchantType(Integer merchantType)
    {
        this.merchantType = merchantType;
    }

    /**
     * @return the merchantCheckStatus
     */
    public Integer getMerchantCheckStatus()
    {
        return merchantCheckStatus;
    }

    /**
     * @param merchantCheckStatus
     *            the merchantCheckStatus to set
     */
    public void setMerchantCheckStatus(Integer merchantCheckStatus)
    {
        this.merchantCheckStatus = merchantCheckStatus;
    }

    /**
     * @return the merchantStatus
     */
    public Integer getMerchantStatus()
    {
        return merchantStatus;
    }

    /**
     * @param merchantStatus
     *            the merchantStatus to set
     */
    public void setMerchantStatus(Integer merchantStatus)
    {
        this.merchantStatus = merchantStatus;
    }

    /**
     * @return the billingStatus
     */
    public Integer getBillingStatus()
    {
        return billingStatus;
    }

    /**
     * @param billingStatus
     *            the billingStatus to set
     */
    public void setBillingStatus(Integer billingStatus)
    {
        this.billingStatus = billingStatus;
    }

    /**
     * @return the createTime
     */
    public Date getCreateTime()
    {
        return createTime;
    }

    /**
     * @param createTime
     *            the createTime to set
     */
    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    /**
     * @return the isDelete
     */
    public Boolean getIsDelete()
    {
        return isDelete;
    }

    /**
     * @param isDelete
     *            the isDelete to set
     */
    public void setIsDelete(Boolean isDelete)
    {
        this.isDelete = isDelete;
    }

    /**
     * @return the rechargeableCardDiscountRate
     */
    public Integer getRechargeableCardDiscountRate()
    {
        return rechargeableCardDiscountRate;
    }

    /**
     * @param rechargeableCardDiscountRate
     *            the rechargeableCardDiscountRate to set
     */
    public void setRechargeableCardDiscountRate(Integer rechargeableCardDiscountRate)
    {
        this.rechargeableCardDiscountRate = rechargeableCardDiscountRate;
    }

    /**
     * @return the poslists
     */
    public List<Pos> getPoslists()
    {
        return poslists;
    }

    /**
     * @param poslists
     *            the poslists to set
     */
    public void setPoslists(List<Pos> poslists)
    {
        this.poslists = poslists;
    }

    public Timestamp getBillingUpdateBeginTime()
    {
        return billingUpdateBeginTime;
    }

    public void setBillingUpdateBeginTime(Timestamp billingUpdateBeginTime)
    {
        this.billingUpdateBeginTime = billingUpdateBeginTime;
    }

    public Timestamp getBillingUpdateEndTime()
    {
        return billingUpdateEndTime;
    }

    public void setBillingUpdateEndTime(Timestamp billingUpdateEndTime)
    {
        this.billingUpdateEndTime = billingUpdateEndTime;
    }

    @Override
    public String toString()
    {
        return "Merchant [merchantId=" + merchantId + ", merchantCode=" + merchantCode + ", merchantEncode="
                + merchantEncode + ", merchantName=" + merchantName + ", merchantAddr=" + merchantAddr + ", snCode="
                + snCode + ", accountName=" + accountName + ", accountCode=" + accountCode + ", bank=" + bank
                + ", corporation=" + corporation + ", accountDigest=" + accountDigest + ", accountTemplate="
                + accountTemplate + ", accountModel=" + accountModel + ", telphone=" + telphone + ", merchantType="
                + merchantType + ", merchantCheckStatus=" + merchantCheckStatus + ", merchantStatus=" + merchantStatus
                + ", billingStatus=" + billingStatus + ", billingUpdateBeginTime=" + billingUpdateBeginTime
                + ", billingUpdateEndTime=" + billingUpdateEndTime + ", createTime=" + createTime + ", isDelete="
                + isDelete + ", rechargeableCardDiscountRate=" + rechargeableCardDiscountRate + ", poslists="
                + poslists + "]";
    }

}